package com.echat.messagesender.sender.service;

import com.echat.messagesender.sender.bean.EchatSendEmailInfo;
import com.echat.messagesender.sender.email.bean.enumclass.EmailServerName;
import com.weibo.api.motan.config.springsupport.annotation.MotanService;
import com.weibo.api.motan.transport.async.MotanAsync;

/**
 * Created by chenmohan on 2018/08/29
 *
 * @description
 */
@MotanAsync
public interface EchatEmailSendService {

    String printBean(EchatSendEmailInfo info);

    Boolean sendEmail(EchatSendEmailInfo info);

    Boolean sendEmail(EmailServerName type, EchatSendEmailInfo info);
}
